/*************************************************************************
 *                                                                       *
 * This file is part of the FreeMAPs distribution.  For full copyright   *
 * information, see COPYRIGHT and COPYING.LESSER.                        *
 *                                                                       *
 * Author:           sqbang                                              *
 * Email:            sqbang@ustc.edu                                     *
 * Date:             2012.12.20                                          *
 *                                                                       *
 *************************************************************************/

namespace FreeMAPs
{

inline const std::set<std::string>&
IrregularBoundaryConditionRange::get_boundary_names() const
{
    return d_boundary_names;
}


inline void
IrregularBoundaryConditionRange::add_boundary_names(
        const std::set<std::string>& boundary_names)
{
    std::set<std::string>::const_iterator iter = boundary_names.begin();
    for( ; iter != boundary_names.end(); iter++)
    {
        d_boundary_names.insert(*iter);
    }
}


inline const std::string&
IrregularBoundaryConditionRange::get_range() const
{
    return d_range;
}


inline void
IrregularBoundaryConditionRange::set_range(
        const std::string& range)
{
    d_range = range;
}

} // namespace FreeMAPs
